package com.ecut.property_project.mapper.charge;

import com.ecut.property_project.model.charge.ChargeItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ChargeItemMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ChargeItem record);

    int insertSelective(ChargeItem record);
    List<ChargeItem> selectAll();

    List<ChargeItem> selectByPage(Integer page, Integer pageSize);

    ChargeItem selectByPrimaryKey(Integer id);

    List<ChargeItem> selectByHeadId(String headId);

    int updateByPrimaryKeySelective(ChargeItem record);

    int updateByPrimaryKey(ChargeItem record);
}